package cn.jfinalbbs.hnair.json;

import java.util.List;

import com.google.gson.annotations.SerializedName;

public class Hnair {
	@SerializedName("AirLowFareSearchRS")
	private Airlowfaresearchrs airlowfaresearchrs;

	public void setAirlowfaresearchrs(Airlowfaresearchrs airlowfaresearchrs) {
		this.airlowfaresearchrs = airlowfaresearchrs;
	}

	public Airlowfaresearchrs getAirlowfaresearchrs() {
		return airlowfaresearchrs;
	}

	public static class Flightinformationattributes {

		@SerializedName("@FlightSegmentRef")
		private String flightsegmentref;
		@SerializedName("@CabinClass")
		private String cabinclass;
		@SerializedName("@BookingClass")
		private String bookingclass;

		public String getFlightsegmentref() {
			return flightsegmentref;
		}

		public void setFlightsegmentref(String flightsegmentref) {
			this.flightsegmentref = flightsegmentref;
		}

		public String getCabinclass() {
			return cabinclass;
		}

		public void setCabinclass(String cabinclass) {
			this.cabinclass = cabinclass;
		}

		public String getBookingclass() {
			return bookingclass;
		}

		public void setBookingclass(String bookingclass) {
			this.bookingclass = bookingclass;
		}
	}

	public static class Airlowfaresearchrs {

		@SerializedName("@Uri")
		private String uri;
		@SerializedName("@Type")
		private String type;
		@SerializedName("@RqCriteria")
		private String rqcriteria;
		@SerializedName("ClientId")
		private String clientid;
		@SerializedName("UserSessionId")
		private String usersessionid;
		@SerializedName("FlightItineraryPricePoints")
		private Flightitinerarypricepoints flightitinerarypricepoints;
		@SerializedName("FlightInformationSummary")
		private Flightinformationsummary flightinformationsummary;
		@SerializedName("PricePointSummary")
		private Pricepointsummary pricepointsummary;
		@SerializedName("FareFamilyContent")
		private Farefamilycontent farefamilycontent;
		@SerializedName("PromotionContent")
		private Promotioncontent promotioncontent;
		@SerializedName("TaxFeeContent")
		private Taxfeecontent taxfeecontent;
		@SerializedName("MediaContent")
		private Mediacontent mediacontent;

		public String getUri() {
			return uri;
		}

		public void setUri(String uri) {
			this.uri = uri;
		}

		public String getType() {
			return type;
		}

		public void setType(String type) {
			this.type = type;
		}

		public String getRqcriteria() {
			return rqcriteria;
		}

		public void setRqcriteria(String rqcriteria) {
			this.rqcriteria = rqcriteria;
		}

		public String getClientid() {
			return clientid;
		}

		public void setClientid(String clientid) {
			this.clientid = clientid;
		}

		public String getUsersessionid() {
			return usersessionid;
		}

		public void setUsersessionid(String usersessionid) {
			this.usersessionid = usersessionid;
		}

		public Flightitinerarypricepoints getFlightitinerarypricepoints() {
			return flightitinerarypricepoints;
		}

		public void setFlightitinerarypricepoints(
				Flightitinerarypricepoints flightitinerarypricepoints) {
			this.flightitinerarypricepoints = flightitinerarypricepoints;
		}

		public Flightinformationsummary getFlightinformationsummary() {
			return flightinformationsummary;
		}

		public void setFlightinformationsummary(
				Flightinformationsummary flightinformationsummary) {
			this.flightinformationsummary = flightinformationsummary;
		}

		public Pricepointsummary getPricepointsummary() {
			return pricepointsummary;
		}

		public void setPricepointsummary(Pricepointsummary pricepointsummary) {
			this.pricepointsummary = pricepointsummary;
		}

		public Farefamilycontent getFarefamilycontent() {
			return farefamilycontent;
		}

		public void setFarefamilycontent(Farefamilycontent farefamilycontent) {
			this.farefamilycontent = farefamilycontent;
		}

		public Promotioncontent getPromotioncontent() {
			return promotioncontent;
		}

		public void setPromotioncontent(Promotioncontent promotioncontent) {
			this.promotioncontent = promotioncontent;
		}

		public Taxfeecontent getTaxfeecontent() {
			return taxfeecontent;
		}

		public void setTaxfeecontent(Taxfeecontent taxfeecontent) {
			this.taxfeecontent = taxfeecontent;
		}

		public Mediacontent getMediacontent() {
			return mediacontent;
		}

		public void setMediacontent(Mediacontent mediacontent) {
			this.mediacontent = mediacontent;
		}

	}

	public static class Mediacontent {

	}

	public static class Taxfeecontent {

	}

	public static class Promotioncontent {

	}

	public static class Farefamilycontent {

		@SerializedName("FareFamily")
		private List<Farefamily> farefamily;

		public void setFarefamily(List<Farefamily> farefamily) {
			this.farefamily = farefamily;
		}

		public List<Farefamily> getFarefamily() {
			return farefamily;
		}

	}

	public static class Farefamily {

		@SerializedName("@Sequence")
		private int sequence;
		@SerializedName("@ID")
		private String id;
		@SerializedName("Name")
		private Name name;
		@SerializedName("URL")
		private Url url;
		@SerializedName("CombinabilityRule")
		private List<Combinabilityrule> combinabilityrule;
		@SerializedName("Attribute")
		private List<Attribute> attribute;

		public int getSequence() {
			return sequence;
		}

		public void setSequence(int sequence) {
			this.sequence = sequence;
		}

		public String getId() {
			return id;
		}

		public void setId(String id) {
			this.id = id;
		}

		public Name getName() {
			return name;
		}

		public void setName(Name name) {
			this.name = name;
		}

		public Url getUrl() {
			return url;
		}

		public void setUrl(Url url) {
			this.url = url;
		}

		public List<Combinabilityrule> getCombinabilityrule() {
			return combinabilityrule;
		}

		public void setCombinabilityrule(
				List<Combinabilityrule> combinabilityrule) {
			this.combinabilityrule = combinabilityrule;
		}

		public List<Attribute> getAttribute() {
			return attribute;
		}

		public void setAttribute(List<Attribute> attribute) {
			this.attribute = attribute;
		}

	}

	public static class Attribute {

		@SerializedName("Entry")
		private List<Entry> entry;

		public void setEntry(List<Entry> entry) {
			this.entry = entry;
		}

		public List<Entry> getEntry() {
			return entry;
		}

	}

	public static class Entry {

		@SerializedName("@LanguageCode")
		private String languagecode;
		@SerializedName("@Value")
		private String value;

		public String getLanguagecode() {
			return languagecode;
		}

		public void setLanguagecode(String languagecode) {
			this.languagecode = languagecode;
		}

		public String getValue() {
			return value;
		}

		public void setValue(String value) {
			this.value = value;
		}

	}

	public static class Combinabilityrule {

	}

	public static class Url {

		@SerializedName("Entry")
		private List<Entry> entry;

		public void setEntry(List<Entry> entry) {
			this.entry = entry;
		}

		public List<Entry> getEntry() {
			return entry;
		}

	}

	public static class Name {

		@SerializedName("Entry")
		private List<Entry> entry;

		public void setEntry(List<Entry> entry) {
			this.entry = entry;
		}

		public List<Entry> getEntry() {
			return entry;
		}

	}

	public static class Pricepointsummary {

		@SerializedName("PricePoint")
		private List<Pricepoint> pricepoint;

		public void setPricepoint(List<Pricepoint> pricepoint) {
			this.pricepoint = pricepoint;
		}

		public List<Pricepoint> getPricepoint() {
			return pricepoint;
		}

	}

	public static class Pricepoint {

		@SerializedName("@ID")
		private String id;
		@SerializedName("FareFamilyRef")
		private String farefamilyref;
		@SerializedName("BasedOnPTCPricing")
		private Basedonptcpricing basedonptcpricing;

		public String getId() {
			return id;
		}

		public void setId(String id) {
			this.id = id;
		}

		public void setFarefamilyref(String farefamilyref) {
			this.farefamilyref = farefamilyref;
		}

		public String getFarefamilyref() {
			return farefamilyref;
		}

		public void setBasedonptcpricing(Basedonptcpricing basedonptcpricing) {
			this.basedonptcpricing = basedonptcpricing;
		}

		public Basedonptcpricing getBasedonptcpricing() {
			return basedonptcpricing;
		}

	}

	public static class Basedonptcpricing {

		@SerializedName("GuestType")
		private Guesttype guesttype;
		@SerializedName("Fare")
		private Fare fare;

		public void setGuesttype(Guesttype guesttype) {
			this.guesttype = guesttype;
		}

		public Guesttype getGuesttype() {
			return guesttype;
		}

		public void setFare(Fare fare) {
			this.fare = fare;
		}

		public Fare getFare() {
			return fare;
		}

	}

	public static class Fare {

		@SerializedName("@BaseFareAmount")
		private int basefareamount;
		@SerializedName("@BaseFareCurrency")
		private String basefarecurrency;
		@SerializedName("@TotalFareAmount")
		private int totalfareamount;
		@SerializedName("@TotalFareCurrency")
		private String totalfarecurrency;

		public int getBasefareamount() {
			return basefareamount;
		}

		public void setBasefareamount(int basefareamount) {
			this.basefareamount = basefareamount;
		}

		public String getBasefarecurrency() {
			return basefarecurrency;
		}

		public void setBasefarecurrency(String basefarecurrency) {
			this.basefarecurrency = basefarecurrency;
		}

		public int getTotalfareamount() {
			return totalfareamount;
		}

		public void setTotalfareamount(int totalfareamount) {
			this.totalfareamount = totalfareamount;
		}

		public String getTotalfarecurrency() {
			return totalfarecurrency;
		}

		public void setTotalfarecurrency(String totalfarecurrency) {
			this.totalfarecurrency = totalfarecurrency;
		}

	}

	public static class Guesttype {

		@SerializedName("@Code")
		private String code;
		@SerializedName("@Quantity")
		private int quantity;

		public String getCode() {
			return code;
		}

		public void setCode(String code) {
			this.code = code;
		}

		public int getQuantity() {
			return quantity;
		}

		public void setQuantity(int quantity) {
			this.quantity = quantity;
		}

	}

	public static class Flightinformationsummary {

		@SerializedName("FlightInformation")
		private List<Flightinformation> flightinformation;

		public void setFlightinformation(
				List<Flightinformation> flightinformation) {
			this.flightinformation = flightinformation;
		}

		public List<Flightinformation> getFlightinformation() {
			return flightinformation;
		}

	}

	public static class Flightinformation {

		@SerializedName("@ID")
		private String id;
		@SerializedName("Flight")
		private List<Flight> flight;

		public String getId() {
			return id;
		}

		public void setId(String id) {
			this.id = id;
		}

		public void setFlight(List<Flight> flight) {
			this.flight = flight;
		}

		public List<Flight> getFlight() {
			return flight;
		}

	}

	public static class Flight {

		@SerializedName("@TotalTravelDuration")
		private String totaltravelduration;
		@SerializedName("FlightSegment")
		private List<Flightsegment> flightsegment;

		public String getTotaltravelduration() {
			return totaltravelduration;
		}

		public void setTotaltravelduration(String totaltravelduration) {
			this.totaltravelduration = totaltravelduration;
		}

		public void setFlightsegment(List<Flightsegment> flightsegment) {
			this.flightsegment = flightsegment;
		}

		public List<Flightsegment> getFlightsegment() {
			return flightsegment;
		}

	}

	public static class Flightsegment {

		@SerializedName("@ID")
		private String id;
		@SerializedName("@Sequence")
		private int sequence;
		@SerializedName("@OriginCode")
		private String origincode;
		@SerializedName("@OriginLocationName")
		private String originlocationname;
		@SerializedName("@DestinationCode")
		private String destinationcode;
		@SerializedName("@DestinationLocationName")
		private String destinationlocationname;
		@SerializedName("@DepartureDate")
		private String departuredate;
		@SerializedName("@ArrivalDate")
		private String arrivaldate;
		@SerializedName("@MarketingAirline")
		private String marketingairline;
		@SerializedName("@FlightNumber")
		private String flightnumber;
		@SerializedName("@EquipmentCode")
		private String equipmentcode;
		@SerializedName("@NumberOfStops")
		private int numberofstops;
		@SerializedName("@TotalFlightDuration")
		private String totalflightduration;

		public String getId() {
			return id;
		}

		public void setId(String id) {
			this.id = id;
		}

		public int getSequence() {
			return sequence;
		}

		public void setSequence(int sequence) {
			this.sequence = sequence;
		}

		public String getOrigincode() {
			return origincode;
		}

		public void setOrigincode(String origincode) {
			this.origincode = origincode;
		}

		public String getOriginlocationname() {
			return originlocationname;
		}

		public void setOriginlocationname(String originlocationname) {
			this.originlocationname = originlocationname;
		}

		public String getDestinationcode() {
			return destinationcode;
		}

		public void setDestinationcode(String destinationcode) {
			this.destinationcode = destinationcode;
		}

		public String getDestinationlocationname() {
			return destinationlocationname;
		}

		public void setDestinationlocationname(String destinationlocationname) {
			this.destinationlocationname = destinationlocationname;
		}

		public String getDeparturedate() {
			return departuredate;
		}

		public void setDeparturedate(String departuredate) {
			this.departuredate = departuredate;
		}

		public String getArrivaldate() {
			return arrivaldate;
		}

		public void setArrivaldate(String arrivaldate) {
			this.arrivaldate = arrivaldate;
		}

		public String getMarketingairline() {
			return marketingairline;
		}

		public void setMarketingairline(String marketingairline) {
			this.marketingairline = marketingairline;
		}

		public String getFlightnumber() {
			return flightnumber;
		}

		public void setFlightnumber(String flightnumber) {
			this.flightnumber = flightnumber;
		}

		public String getEquipmentcode() {
			return equipmentcode;
		}

		public void setEquipmentcode(String equipmentcode) {
			this.equipmentcode = equipmentcode;
		}

		public int getNumberofstops() {
			return numberofstops;
		}

		public void setNumberofstops(int numberofstops) {
			this.numberofstops = numberofstops;
		}

		public String getTotalflightduration() {
			return totalflightduration;
		}

		public void setTotalflightduration(String totalflightduration) {
			this.totalflightduration = totalflightduration;
		}
	}

	public static class Flightitinerarypricepoints {

		@SerializedName("FlightItineraryPricePoint")
		private List<Flightitinerarypricepoint> flightitinerarypricepoint;

		public void setFlightitinerarypricepoint(
				List<Flightitinerarypricepoint> flightitinerarypricepoint) {
			this.flightitinerarypricepoint = flightitinerarypricepoint;
		}

		public List<Flightitinerarypricepoint> getFlightitinerarypricepoint() {
			return flightitinerarypricepoint;
		}

	}

	public static class Flightitinerarypricepoint {

		@SerializedName("@Index")
		private int index;
		@SerializedName("@Leg")
		private int leg;
		@SerializedName("@ID")
		private String id;
		@SerializedName("FlightInformationRef")
		private String flightinformationref;
		@SerializedName("PricePointRef")
		private String pricepointref;
		@SerializedName("FlightInformationAttributes")
		private List<Flightinformationattributes> flightinformationattributes;

		public int getIndex() {
			return index;
		}

		public void setIndex(int index) {
			this.index = index;
		}

		public int getLeg() {
			return leg;
		}

		public void setLeg(int leg) {
			this.leg = leg;
		}

		public String getId() {
			return id;
		}

		public void setId(String id) {
			this.id = id;
		}

		public String getFlightinformationref() {
			return flightinformationref;
		}

		public void setFlightinformationref(String flightinformationref) {
			this.flightinformationref = flightinformationref;
		}

		public String getPricepointref() {
			return pricepointref;
		}

		public void setPricepointref(String pricepointref) {
			this.pricepointref = pricepointref;
		}

		public List<Flightinformationattributes> getFlightinformationattributes() {
			return flightinformationattributes;
		}

		public void setFlightinformationattributes(
				List<Flightinformationattributes> flightinformationattributes) {
			this.flightinformationattributes = flightinformationattributes;
		}

	}
	
}
